package com.ad.pet.app.account.order.fragment;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.account.order.BigOrder;
import com.ad.pet.models.remote.account.order.OrderType;

import java.util.List;

/**
 * Created by SEELE on 2019/2/13.
 */

public interface OrderStatusContract {

    interface Presenter extends BasePresenter<OrderStatusContract.View> {

        void getPacketInfo(String order_id);
        void getGoodOrderDetail(String order_id);
        void getOrderStatus(String status,String page);
        void getPending(String status,String page);
        void cancelOrder(String order_id);
        void confirmRecive(String order_id);
        void myAppointList(String status,String page);
        void cancelAppointList(String order_id);

    }

    interface View extends AbsView {
        void getPendingSuccess(List<BigOrder> bigOrder);
        void getPacketInfoSuccess(BigOrder bigOrder);
        void getOrderStatusSuccess(List<BigOrder> orderStatuses);
        void cancelOrderSuccess();
        void confirmOrderSuccess();
        void getGoodOrderDetailSuccess(BigOrder bigOrder);
        void myAppointListSuccess(List<OrderType> list);
        void cancelAppointListSuccess();

    }
}
